package org.shop.dao;

import java.util.List;
import java.util.Map;

import org.shop.dao.base.BaseDaoMapper;
import org.shop.entity.GoodsAppraises;

public interface GoodsAppraisesMapper extends BaseDaoMapper<GoodsAppraises, Long> {
	
	/**
	 * 商家查看评论
	 * @param paramMap
	 * @return
	 */
	public List<Map<String,Object>> getGoodsAppraisesInfo(Map<String,Object> paramMap);
	
	/**
	 * 商家查看评论条数
	 * @param paramMap
	 * @return
	 */
	public int getGoodsAppraisesInfoCount(Map<String,Object> paramMap);
	
	
	/**
	 * 获取商品的评论
	 * @param paramMap
	 * @return
	 */
	public List<Map<String,Object>> getAboutGoodsOfAppraises(Map<String,Object> paramMap);
	
	/**
	 * 获取该所有对该店铺的评论
	 * @param paramMap
	 * @return
	 */
	public List<Map<String,Object>> getMerchantAppraisesList(Map<String,Object> paramMap);
	
}